package dao;

import pojo.UserDO;

public interface UserDAO {
    /**
     * 根据用户名和密码查询用户
     * @param username
     * @param psw
     * @return
     */
    UserDO getByUsernameAndPsw(String username, String psw);
    void update(UserDO userDO);
    UserDO getById(int id);
    UserDO getByUsername(String name);
}
